package com.runjian.rundo.iot.agent.common.context;

import com.runjian.rundo.iot.agent.common.entity.CommonDeviceCommand;
import com.runjian.rundo.iot.agent.common.session.Session;

/**
 * 设备消息编码上下文
 *
 * @author LiGang
 */
public class DeviceMessageEncodeContext {

    private CommonDeviceCommand deviceCommand;

    private Session deviceSession;

    public DeviceMessageEncodeContext(CommonDeviceCommand deviceCommand, Session deviceSession) {
        this.deviceCommand = deviceCommand;
        this.deviceSession = deviceSession;
    }

    public CommonDeviceCommand getDeviceCommand() {
        return deviceCommand;
    }

    public void setDeviceCommand(CommonDeviceCommand deviceCommand) {
        this.deviceCommand = deviceCommand;
    }

    public Session getDeviceSession() {
        return deviceSession;
    }

    public void setDeviceSession(Session deviceSession) {
        this.deviceSession = deviceSession;
    }
}
